/*
    返回值演示
*/
#include <stdio.h>
int func() {
    int num = 0;
    printf("请输入一个数字：");
    scanf("%d",&num);
    return num;
}
int main() {
    int num = 0;
    num = func();
    printf("num是%d\n", num);
    return 0;
}
